package cn.stylefeng.guns.modular.basic.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.basic.entity.BasicCarrierLine;
import cn.stylefeng.guns.modular.basic.model.params.BasicCarrierLineParam;
import cn.stylefeng.guns.modular.basic.model.result.BasicCarrierLineResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 承运商线路关联表 服务类
 * </p>
 *
 * @author like
 * @since 2024-10-10
 */
public interface BasicCarrierLineService extends IService<BasicCarrierLine> {

    /**
     * 新增
     *
     * @author like
     * @Date 2024-10-10
     */
    void add(BasicCarrierLineParam param);

    /**
     * 删除
     *
     * @author like
     * @Date 2024-10-10
     */
    void delete(BasicCarrierLineParam param);

    /**
     * 更新
     *
     * @author like
     * @Date 2024-10-10
     */
    void update(BasicCarrierLineParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author like
     * @Date 2024-10-10
     */
    BasicCarrierLineResult findBySpec(BasicCarrierLineParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author like
     * @Date 2024-10-10
     */
    List<BasicCarrierLineResult> findListBySpec(BasicCarrierLineParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author like
     * @Date 2024-10-10
     */
     LayuiPageInfo findPageBySpec(BasicCarrierLineParam param,String condition,Long operateId);

}
